import axios from 'axios'

let server = axios.create({
  baseURL: '/api',
  // baseURL: 'http://127.0.0.1:8000/rest',
  // baseURL: 'http://yscs.mingyizaixian99.com/doctor-rest',
  // baseURL: 'http://yscs-test.mingyizaixian99.com/doctor-rest',
  // timeout: 5000,
  isAuthorizationToken: true,
  responseType: 'json'
})

export default server
